package com.itheima.demo;

public class Test {
    public static void main(String[] args){
        //多部电影用类型对象数组保存
        movie[] movies=new movie[3];
        movies[0]=new movie("肖申克的救赎",100,1);
        movies[1]=new movie("霸王别姬",200,2);
        movies[2]=new movie("这个杀手不太冷",300,3);
        movieoperator mo=new movieoperator(movies);
        mo.printAllMovies();
        mo.searchMovieByid(1);



    }
}
